import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';

async function bootstrap() {
  const app = await NestFactory.create(AppModule);
  await app.listen(3000);
}
bootstrap();

//自定义装饰器
//https://juejin.cn/book/7226988578700525605/section/7236274503532167225